package oo

import (
	"fmt"
	"github.com/shxsun/klog"
)

type Observe struct {
	level int
	flags string
	*klog.Logger
}

func init() {

	fmt.Println("i am from oo.go initialize !")

}

func New(myflag string) *Observe {

	return &Observe{1, myflag, klog.NewLogger(nil, "")}

}

func (o *Observe) GetFlags() string {

	o.Warn(App + "---from ooo")

	return o.flags

}
